package edu.sctu.zhangwang.month201505.day20150523;

/**
 * Created by Administrator on 2015/5/23 0023.
 */

public class JieKou {
    public double avg(int[] n){
        double result = 0.0;
        for (int i = 0;i<n.length;i++){
            result += n[i];
        }
        result /= n.length;
        return result;
    }
}
